import Vue from 'vue'
import App from './App.vue'
import router from './router'

// 请求
import axios from 'axios'
import VueAxios from 'vue-axios'
// 页面大小
import 'lib-flexible/flexible'
// 字体图标
import './assets/font/iconfont.css'
// 地图
import BaiduMap from 'vue-baidu-map'
// 组件
import {Button ,SubmitBar,AddressList,Radio,Uploader  ,NumberKeyboard ,PasswordInput ,RadioGroup,Area ,AddressEdit, Tabbar, TabbarItem,Swipe,SwipeItem,Icon,NavBar,Toast,Empty,PullRefresh,ActionSheet,Search,Sidebar,SidebarItem,Stepper,Popup,Cell,GoodsAction,GoodsActionIcon,GoodsActionButton,Form,Field,Badge ,Checkbox,CheckboxGroup   } from 'vant';

// 请求
Vue.use(VueAxios, axios)

// 地图
Vue.use(BaiduMap,{
  ak:"NHWXEP9ChjSih5EnVA0imrCCoIhaYPBr"
})

Vue
.use(Button )
.use(Tabbar)
.use(TabbarItem)
.use(Swipe)
.use(SwipeItem )
.use(Icon)
.use(NavBar)
.use(Toast )
.use(Empty )
.use(PullRefresh )
.use(ActionSheet )
.use(Search )
.use(Sidebar)
.use(SidebarItem )
.use(Stepper )
.use(Popup )
.use(Cell)
.use(GoodsAction)
.use(GoodsActionIcon)
.use(GoodsActionButton )
.use(Field )
.use(Form )
.use(Badge )
.use(CheckboxGroup )
.use(Checkbox)
.use(SubmitBar )
.use(AddressList )
.use(AddressEdit )
.use(Area )
.use(RadioGroup)
.use(Radio )
.use(PasswordInput)
.use(NumberKeyboard )
.use(Uploader )

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
